From 144f1b9f82885af6a67a80125048e42183df2eb1 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 24 Nov 2020 11:01:35 -0600 Subject: [PATCH] Adjust for unit test marking --- tests/test_core.py | 7 +++++++ tox.ini | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index 0c2f889..2bd638b 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -29,3 +29,10 @@ def test_userinitialpost_init(): assert uip.db == default_db assert uip.user == '' assert uip.password == '' + + +@pytest.mark.integrationtest +def test_dummy(): + '''Exists only so tox sees a non-integration test + ''' + assert True diff --git a/tox.ini b/tox.ini index fd9425d..88066aa 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,8 @@ commands = python setup.py sdist twine check dist/* flake8 . - py.test --cov=pgwui_core tests/ + py.test -m unittest --cov=pgwui_core tests/ + py.test -m 'not unittest' --cov=pgwui_core tests/ # coverage run --source src/pgwui_core -m py.test # coverage report -- 2.34.1